package com.project.nimsen.dto;

import org.apache.commons.lang3.StringUtils;

public class FileInfoDto {
	private String archid;//文章编号
	private String relatiovalue;//关系值
	private Integer num;//当台标签查询时的前几个附件
	private String orderType;//排序方式
	
	public String getOrderType() {
		if(StringUtils.isBlank(orderType))
			return "ASC";
		return orderType;
	}
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	public Integer getNum() {
		if(num==null||num<1)
			return 0;
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public String getArchid() {
		return archid;
	}
	public void setArchid(String archid) {
		this.archid = archid;
	}
	public String getRelatiovalue() {
		return relatiovalue;
	}
	public void setRelatiovalue(String relatiovalue) {
		this.relatiovalue = relatiovalue;
	}
}
